package com.ryskoo.basicdata.organization.repository;

import com.ryskoo.basicdata.organization.domain.OrganizationPO;
import com.ryskoo.framework.core.repository.IBasicRepository;

import java.util.List;

/**
 *  组织机构数据处理层接口
 * @author thq
 */
public interface IOrganizationRepository extends IBasicRepository<OrganizationPO> {
	
	/**
	 * 获取组织机构列表
	 * 树状结构的列表，子组织也会获取
	 * @param parentId
	 *  @return 
	 */
	public List<OrganizationPO> getByParentId(String parentId);
}
